package org.mathcloud.math.core.generic.quantity;

import org.mathcloud.math.core.common.operator.QuantityObjectOperation;
import org.mathcloud.math.core.common.quantity.BooleanValue;
import org.mathcloud.math.core.common.signature.QuantityObjectSignature;
import org.mathcloud.math.core.generic.operator.GenericQuantityObjectOperation;
import org.mathcloud.math.core.generic.signature.GenericQuantityObjectSignature;

public class GenericBooleanValue implements BooleanValue
{
	public GenericBooleanValue()
	{
		value = null;
		signature = GenericQuantityObjectSignature.getBooleanValueSignature();
	}
	
	public GenericBooleanValue(boolean arg0)
	{
		value = arg0;
		signature = GenericQuantityObjectSignature.getBooleanValueSignature();
	}
	
	@Override
	public QuantityObjectOperation getOperation()
	{
		return operation;
	}

	@Override
	public QuantityObjectSignature getSignature()
	{
		return signature;
	}

	@Override
	public Boolean getValue()
	{
		return value;
	}

	@Override
	public void setValue(boolean arg0)
	{
		value = arg0;
	}

	private Boolean value;
  protected GenericQuantityObjectOperation operation;
  protected QuantityObjectSignature signature;    
}
